{% load static %}
<div class="search_bar clearfix">
    <a href="#" class="logo fl"><img src="{% static 'images/logo02.png' %}"></a>
    <div class="search_con fl">
        <form method="get" action="/search/">
            <input type="text" class="input_text fl" name="q" placeholder="搜索商品" value="{{ query | default:"" }}">
            <input type="submit" class="input_btn fr" name="" value="搜索">
        </form>
    </div>
    <div class="guest_cart fr">
        <a href="/cart/" class="cart_name fl">我的购物车</a>
        <div class="goods_count fl" id="show_count">{{ cart_len | default:0 }}</div>
    </div>
</div>